[IT] User recovery feature

Thursday, 01 April 2021 17:21:59
Total Iterations

1

Total Assertions

12

Total Failed Tests

13

Total Skipped Tests

0


File Information
Collection: [IT] User recovery feature
Environment: Nightlies
Timings and Data
Total run duration: 1203ms
Total data received: 1.41KB
Average response time: 27ms
Summary Item Total Failed
Requests 18 0
Prerequest Scripts 25 0
Test Scripts 32 1
Assertions 12 12
Skipped Tests 0 -



Showing 13 Failures

Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'opportunities' of null
Failed Test:

Assertion Error Message
Cannot read property 'id' of null
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: toto@happn.com as email recovery information

Assertion Error Message
Cannot read property '0' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Recovery url Exists

Assertion Error Message
Cannot read property 'recovery_url' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: user have a least 1 recovery token

Assertion Error Message
Cannot read property 'length' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Access token is defined

Assertion Error Message
expected undefined to not deeply equal undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Access token is defined

Assertion Error Message
expected undefined to not deeply equal undefined


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 37ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 843301a9-5dd8-4a95-bde1-8d9f870cb7e0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 29ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token dd519ec4-f602-4794-81db-5554544f5945
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 326
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1617297718670A@example.com",
            "password": "00000000",
            "first_name": "Suggested stack A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 35ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 33c7529d-c00e-4944-b2f9-c27d8004ca2c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1617297718670A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 37ms
Mean size per request: 84B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 03a2d9ff-9b2a-4425-bb62-8dd080ccc513
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'opportunities' of null
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 32ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 116d40a7-ef7c-421b-a569-87d333ca513d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 13ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 1cafa5fc-8898-4afc-a19e-a8c7f07d316e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F48.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 28ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 879a3337-047f-4b2d-b2fa-f904fa5c1d2e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 32ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token f5265485-1f44-4ce2-a5de-d7d942de329f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 32ms
Mean size per request: 84B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID {{userADeviceId}}
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token b3b68520-4bc2-44f0-9ad5-78f19752cb99
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/users/null/recovery-info
Response Information
Response Code: 403 - Forbidden
Mean time per request: 19ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 3dc9360e-03d7-4319-867c-4ccf50c0cd6a
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 54
Request Body
{
            "type": "EMAIL",
            "value": "toto@happn.com"
        }
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/recovery-info
Response Information
Response Code: 403 - Forbidden
Mean time per request: 10ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 8bb1407b-cb36-4f35-86bc-2b159410563b
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
toto@happn.com as email recovery information 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
toto@happn.com as email recovery information
Cannot read property '0' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 39ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
Cookie
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 3f101a86-c884-4fe9-a7c0-2d9a0de03c8b
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v1/identities/null/recovery-tokens
Response Information
Response Code: 403 - Forbidden
Mean time per request: 10ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e0c78b8f-2b79-452d-bd79-57cc7e538800
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 2
Request Body
{}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Recovery url Exists 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Recovery url Exists
Cannot read property 'recovery_url' of undefined
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/identities/null/recovery-tokens
Response Information
Response Code: 403 - Forbidden
Mean time per request: 10ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 98f0501b-251f-412a-b1d7-2013cb6500cd
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
user have a least 1 recovery token 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
user have a least 1 recovery token
Cannot read property 'length' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 39ms
Mean size per request: 85B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 99472f5c-6c83-4823-8415-5b22fad7cd65
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 272
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Access token is defined 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Access token is defined
expected undefined to not deeply equal undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 46ms
Mean size per request: 85B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/x-www-form-urlencoded
Host varnish
CF-IPCountry FR
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 28e9dba1-e557-4c94-92a6-55aec87eefc4
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 272
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Access token is defined 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Access token is defined
expected undefined to not deeply equal undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 35ms
Mean size per request: 85B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 90f77be8-d9bf-4de0-a1d7-0e659ea8228e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Thu, 01 Apr 2021 17:21:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 85
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":null,"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 9ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 7e331537-96fe-46b6-92f1-f107100e83d0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Thu, 01 Apr 2021 17:21:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request